import { Routes } from "react-router-dom";
import { routesArr } from "./router/routes";
import { createRoutes } from "./router/createRoutes";
function App() {
  console.log(createRoutes(routesArr));
  return (
    <div>
      <div>下面是路由放置处</div>
      <Routes>{createRoutes(routesArr)}</Routes>
    </div>
  );
}

export default App;
